package com.yichat.micro.msghttpservice.common;

/**
 * Created by chenmohan on 2019/04/03
 *
 * @description
 */
public class Constants {

    public final static int enalbe = 1;

    public final static int disable = 0;

    public final static int request_data_is_end = -1;

    public final static String empty_string = "";

    public final static String ok = "ok";

    public final static int param_is_illage = 600;  //参数非法

    public final static String msg_param_is_illage = "参数非法";

    public final static int status_ok = 200;    //响应200

    public final static int status_timeout = 601;   //请求超时

    public final static int status_retry_failed = 602;  //达到重试次数上限也没能请求成功

    public final static int stauts_async = 700;   //异步处理请求

    public final static int stauts_callback_success = 701;   //回调接口请求成功

    public final static String msg_status_async = "请求异步执行";

    public final static String msg_status_timeout = "请求超时";

    public final static String msg_status_retry_failed = "达到重试次数上限也没能请求成功";

    public final static String msg_status_batch_retry_failed = "达到重试次数上限也没能请求成功";

    public final static String msg_stauts_callback_success = "回调接口请求成功";

}
